[INFO] cloning repository https://github.com/RhysHolloway/chess-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RhysHolloway/chess-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRhysHolloway%2Fchess-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRhysHolloway%2Fchess-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ebcf797cfd2863fa17d314b18059e18d42284a86
[INFO] fixing RhysHolloway/chess-rs against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRhysHolloway%2Fchess-rs" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/RhysHolloway/chess-rs
[INFO] finished tweaking git repo https://github.com/RhysHolloway/chess-rs
[INFO] tweaked toml for git repo https://github.com/RhysHolloway/chess-rs written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/RhysHolloway/chess-rs on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/RhysHolloway/chess-rs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] e13418c32d851ddde54bbd48474e8aeb95a7338573f5ea233e0f515eedecc164
[INFO] running `Command { std: "docker" "start" "e13418c32d851ddde54bbd48474e8aeb95a7338573f5ea233e0f515eedecc164", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e13418c32d851ddde54bbd48474e8aeb95a7338573f5ea233e0f515eedecc164" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e13418c32d851ddde54bbd48474e8aeb95a7338573f5ea233e0f515eedecc164", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e13418c32d851ddde54bbd48474e8aeb95a7338573f5ea233e0f515eedecc164" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]     Checking chess-lib v0.1.0 (/opt/rustwide/workdir/crates/chess-lib)
[INFO] [stdout] error[E0423]: expected value, found struct `Castling`
[INFO] [stdout]   --> crates/chess-lib/src/board/default.rs:87:58
[INFO] [stdout]    |
[INFO] [stdout] 87 |                     DefaultPieces::Rook => default.chain(Castling::<{Self::King}, false>.moves(board, side, pos)),
[INFO] [stdout]    |                                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: use the path separator to refer to an item
[INFO] [stdout]    |
[INFO] [stdout] 87 -                     DefaultPieces::Rook => default.chain(Castling::<{Self::King}, false>.moves(board, side, pos)),
[INFO] [stdout] 87 +                     DefaultPieces::Rook => default.chain(Castling::<{Self::King}, false>::moves(board, side, pos)),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found struct `Castling`
[INFO] [stdout]   --> crates/chess-lib/src/board/default.rs:88:58
[INFO] [stdout]    |
[INFO] [stdout] 88 |                     DefaultPieces::King => default.chain(Castling::<{Self::Rook}, true>.moves(board, side, pos)),
[INFO] [stdout]    |                                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: use the path separator to refer to an item
[INFO] [stdout]    |
[INFO] [stdout] 88 -                     DefaultPieces::King => default.chain(Castling::<{Self::Rook}, true>.moves(board, side, pos)),
[INFO] [stdout] 88 +                     DefaultPieces::King => default.chain(Castling::<{Self::Rook}, true>::moves(board, side, pos)),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `MoveType` in this scope
[INFO] [stdout]    --> crates/chess-lib/src/board/default.rs:145:50
[INFO] [stdout]     |
[INFO] [stdout] 145 | impl<S: Side, const DIR: bool, const DIAG: bool> MoveType<S> for MultiStep<DIR, DIAG> {
[INFO] [stdout]     |                                                  ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DIRECTIONS` in this scope
[INFO] [stdout]    --> crates/chess-lib/src/board/default.rs:148:9
[INFO] [stdout]     |
[INFO] [stdout] 148 |         DIRECTIONS[if DIR { 0 } else { 4 }..if DIAG { 8 } else { 4 }].into_iter().flat_map(|offset| {
[INFO] [stdout]     |         ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `side` in this scope
[INFO] [stdout]    --> crates/chess-lib/src/board.rs:118:47
[INFO] [stdout]     |
[INFO] [stdout] 118 |         let step = piece.can_move(self, mov, &side).ok_or(MoveError::InvalidMove)?;
[INFO] [stdout]     |                                               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `side` in this scope
[INFO] [stdout]    --> crates/chess-lib/src/board.rs:120:34
[INFO] [stdout]     |
[INFO] [stdout] 120 |         step.on_move(self, mov, &side);
[INFO] [stdout]     |                                  ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `S` in this scope
[INFO] [stdout]    --> crates/chess-lib/src/board.rs:131:43
[INFO] [stdout]     |
[INFO] [stdout] 104 | impl<T: BoardType> Board<T> {
[INFO] [stdout]     |      - similarly named type parameter `T` defined here
[INFO] [stdout] ...
[INFO] [stdout] 131 |     pub fn request_draw(&mut self, side: &S) {
[INFO] [stdout]     |                                           ^
[INFO] [stdout]     |
[INFO] [stdout] help: a type parameter with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 131 -     pub fn request_draw(&mut self, side: &S) {
[INFO] [stdout] 131 +     pub fn request_draw(&mut self, side: &T) {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `S` in this scope
[INFO] [stdout]    --> crates/chess-lib/src/board.rs:135:37
[INFO] [stdout]     |
[INFO] [stdout] 104 | impl<T: BoardType> Board<T> {
[INFO] [stdout]     |      - similarly named type parameter `T` defined here
[INFO] [stdout] ...
[INFO] [stdout] 135 |     pub fn resign(&mut self, side: &S) {
[INFO] [stdout]     |                                     ^
[INFO] [stdout]     |
[INFO] [stdout] help: a type parameter with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 135 -     pub fn resign(&mut self, side: &S) {
[INFO] [stdout] 135 +     pub fn resign(&mut self, side: &T) {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `S` in this scope
[INFO] [stdout]    --> crates/chess-lib/src/board.rs:139:32
[INFO] [stdout]     |
[INFO] [stdout] 104 | impl<T: BoardType> Board<T> {
[INFO] [stdout]     |      - similarly named type parameter `T` defined here
[INFO] [stdout] ...
[INFO] [stdout] 139 |     pub fn check(&self, side: &S) -> Option<Vec<Move>> {
[INFO] [stdout]     |                                ^
[INFO] [stdout]     |
[INFO] [stdout] help: a type parameter with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 139 -     pub fn check(&self, side: &S) -> Option<Vec<Move>> {
[INFO] [stdout] 139 +     pub fn check(&self, side: &T) -> Option<Vec<Move>> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `S` in this scope
[INFO] [stdout]    --> crates/chess-lib/src/board.rs:213:56
[INFO] [stdout]     |
[INFO] [stdout] 104 | impl<T: BoardType> Board<T> {
[INFO] [stdout]     |      - similarly named type parameter `T` defined here
[INFO] [stdout] ...
[INFO] [stdout] 213 |     pub fn move_piece(&mut self, mov: Move) -> Option<(S, Piece)> {
[INFO] [stdout]     |                                                        ^
[INFO] [stdout]     |
[INFO] [stdout] help: a type parameter with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 213 -     pub fn move_piece(&mut self, mov: Move) -> Option<(S, Piece)> {
[INFO] [stdout] 213 +     pub fn move_piece(&mut self, mov: Move) -> Option<(T, Piece)> {
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 104 | impl<T: BoardType, S> Board<T> {
[INFO] [stdout]     |                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `pos`
[INFO] [stdout]  --> crates/chess-lib/src/board/default.rs:3:104
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::{Board, BoardType, Direction, Line, Move, Piece, PlayerPiece, Pos, PosBox, Rectangle, Side, pos};
[INFO] [stdout]   |                                                                                                        ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0782]: expected a type, found a trait
[INFO] [stdout]    --> crates/chess-lib/src/board.rs:213:59
[INFO] [stdout]     |
[INFO] [stdout] 213 |     pub fn move_piece(&mut self, mov: Move) -> Option<(S, Piece)> {
[INFO] [stdout]     |                                                           ^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object
[INFO] [stdout]     |
[INFO] [stdout] 213 |     pub fn move_piece(&mut self, mov: Move) -> Option<(S, dyn Piece)> {
[INFO] [stdout]     |                                                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `S` in this scope
[INFO] [stdout]    --> crates/chess-lib/src/board.rs:148:23
[INFO] [stdout]     |
[INFO] [stdout] 148 |         self.pieces = S::sides().flat_map(|side| side.pieces().map(move |(pos, piece)| (pos, PlayerPiece { side, piece }))).collect();
[INFO] [stdout]     |                       ^ use of undeclared type `S`
[INFO] [stdout]     |
[INFO] [stdout] help: a type parameter with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 148 -         self.pieces = S::sides().flat_map(|side| side.pieces().map(move |(pos, piece)| (pos, PlayerPiece { side, piece }))).collect();
[INFO] [stdout] 148 +         self.pieces = T::sides().flat_map(|side| side.pieces().map(move |(pos, piece)| (pos, PlayerPiece { side, piece }))).collect();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `BoardPlayer` in this scope
[INFO] [stdout]    --> crates/chess-lib/src/board.rs:230:42
[INFO] [stdout]     |
[INFO] [stdout] 230 |         self.players.iter_mut().for_each(BoardPlayer::reset);
[INFO] [stdout]     |                                          ^^^^^^^^^^^ use of undeclared type `BoardPlayer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0423, E0425, E0433, E0782.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `chess-lib` (lib test) due to 13 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0423]: expected value, found struct `Castling`
[INFO] [stdout]   --> crates/chess-lib/src/board/default.rs:87:58
[INFO] [stdout]    |
[INFO] [stdout] 87 |                     DefaultPieces::Rook => default.chain(Castling::<{Self::King}, false>.moves(board, side, pos)),
[INFO] [stdout]    |                                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: use the path separator to refer to an item
[INFO] [stdout]    |
[INFO] [stdout] 87 -                     DefaultPieces::Rook => default.chain(Castling::<{Self::King}, false>.moves(board, side, pos)),
[INFO] [stdout] 87 +                     DefaultPieces::Rook => default.chain(Castling::<{Self::King}, false>::moves(board, side, pos)),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found struct `Castling`
[INFO] [stdout]   --> crates/chess-lib/src/board/default.rs:88:58
[INFO] [stdout]    |
[INFO] [stdout] 88 |                     DefaultPieces::King => default.chain(Castling::<{Self::Rook}, true>.moves(board, side, pos)),
[INFO] [stdout]    |                                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: use the path separator to refer to an item
[INFO] [stdout]    |
[INFO] [stdout] 88 -                     DefaultPieces::King => default.chain(Castling::<{Self::Rook}, true>.moves(board, side, pos)),
[INFO] [stdout] 88 +                     DefaultPieces::King => default.chain(Castling::<{Self::Rook}, true>::moves(board, side, pos)),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `MoveType` in this scope
[INFO] [stdout]    --> crates/chess-lib/src/board/default.rs:145:50
[INFO] [stdout]     |
[INFO] [stdout] 145 | impl<S: Side, const DIR: bool, const DIAG: bool> MoveType<S> for MultiStep<DIR, DIAG> {
[INFO] [stdout]     |                                                  ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DIRECTIONS` in this scope
[INFO] [stdout]    --> crates/chess-lib/src/board/default.rs:148:9
[INFO] [stdout]     |
[INFO] [stdout] 148 |         DIRECTIONS[if DIR { 0 } else { 4 }..if DIAG { 8 } else { 4 }].into_iter().flat_map(|offset| {
[INFO] [stdout]     |         ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `side` in this scope
[INFO] [stdout]    --> crates/chess-lib/src/board.rs:118:47
[INFO] [stdout]     |
[INFO] [stdout] 118 |         let step = piece.can_move(self, mov, &side).ok_or(MoveError::InvalidMove)?;
[INFO] [stdout]     |                                               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `side` in this scope
[INFO] [stdout]    --> crates/chess-lib/src/board.rs:120:34
[INFO] [stdout]     |
[INFO] [stdout] 120 |         step.on_move(self, mov, &side);
[INFO] [stdout]     |                                  ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `S` in this scope
[INFO] [stdout]    --> crates/chess-lib/src/board.rs:131:43
[INFO] [stdout]     |
[INFO] [stdout] 104 | impl<T: BoardType> Board<T> {
[INFO] [stdout]     |      - similarly named type parameter `T` defined here
[INFO] [stdout] ...
[INFO] [stdout] 131 |     pub fn request_draw(&mut self, side: &S) {
[INFO] [stdout]     |                                           ^
[INFO] [stdout]     |
[INFO] [stdout] help: a type parameter with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 131 -     pub fn request_draw(&mut self, side: &S) {
[INFO] [stdout] 131 +     pub fn request_draw(&mut self, side: &T) {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `S` in this scope
[INFO] [stdout]    --> crates/chess-lib/src/board.rs:135:37
[INFO] [stdout]     |
[INFO] [stdout] 104 | impl<T: BoardType> Board<T> {
[INFO] [stdout]     |      - similarly named type parameter `T` defined here
[INFO] [stdout] ...
[INFO] [stdout] 135 |     pub fn resign(&mut self, side: &S) {
[INFO] [stdout]     |                                     ^
[INFO] [stdout]     |
[INFO] [stdout] help: a type parameter with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 135 -     pub fn resign(&mut self, side: &S) {
[INFO] [stdout] 135 +     pub fn resign(&mut self, side: &T) {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `S` in this scope
[INFO] [stdout]    --> crates/chess-lib/src/board.rs:139:32
[INFO] [stdout]     |
[INFO] [stdout] 104 | impl<T: BoardType> Board<T> {
[INFO] [stdout]     |      - similarly named type parameter `T` defined here
[INFO] [stdout] ...
[INFO] [stdout] 139 |     pub fn check(&self, side: &S) -> Option<Vec<Move>> {
[INFO] [stdout]     |                                ^
[INFO] [stdout]     |
[INFO] [stdout] help: a type parameter with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 139 -     pub fn check(&self, side: &S) -> Option<Vec<Move>> {
[INFO] [stdout] 139 +     pub fn check(&self, side: &T) -> Option<Vec<Move>> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `S` in this scope
[INFO] [stdout]    --> crates/chess-lib/src/board.rs:213:56
[INFO] [stdout]     |
[INFO] [stdout] 104 | impl<T: BoardType> Board<T> {
[INFO] [stdout]     |      - similarly named type parameter `T` defined here
[INFO] [stdout] ...
[INFO] [stdout] 213 |     pub fn move_piece(&mut self, mov: Move) -> Option<(S, Piece)> {
[INFO] [stdout]     |                                                        ^
[INFO] [stdout]     |
[INFO] [stdout] help: a type parameter with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 213 -     pub fn move_piece(&mut self, mov: Move) -> Option<(S, Piece)> {
[INFO] [stdout] 213 +     pub fn move_piece(&mut self, mov: Move) -> Option<(T, Piece)> {
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 104 | impl<T: BoardType, S> Board<T> {
[INFO] [stdout]     |                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `pos`
[INFO] [stdout]  --> crates/chess-lib/src/board/default.rs:3:104
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::{Board, BoardType, Direction, Line, Move, Piece, PlayerPiece, Pos, PosBox, Rectangle, Side, pos};
[INFO] [stdout]   |                                                                                                        ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0782]: expected a type, found a trait
[INFO] [stdout]    --> crates/chess-lib/src/board.rs:213:59
[INFO] [stdout]     |
[INFO] [stdout] 213 |     pub fn move_piece(&mut self, mov: Move) -> Option<(S, Piece)> {
[INFO] [stdout]     |                                                           ^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object
[INFO] [stdout]     |
[INFO] [stdout] 213 |     pub fn move_piece(&mut self, mov: Move) -> Option<(S, dyn Piece)> {
[INFO] [stdout]     |                                                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `S` in this scope
[INFO] [stdout]    --> crates/chess-lib/src/board.rs:148:23
[INFO] [stdout]     |
[INFO] [stdout] 148 |         self.pieces = S::sides().flat_map(|side| side.pieces().map(move |(pos, piece)| (pos, PlayerPiece { side, piece }))).collect();
[INFO] [stdout]     |                       ^ use of undeclared type `S`
[INFO] [stdout]     |
[INFO] [stdout] help: a type parameter with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 148 -         self.pieces = S::sides().flat_map(|side| side.pieces().map(move |(pos, piece)| (pos, PlayerPiece { side, piece }))).collect();
[INFO] [stdout] 148 +         self.pieces = T::sides().flat_map(|side| side.pieces().map(move |(pos, piece)| (pos, PlayerPiece { side, piece }))).collect();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `chess-lib` (lib) due to 13 previous errors; 1 warning emitted
[INFO] [stdout] error[E0433]: cannot find type `BoardPlayer` in this scope
[INFO] [stdout]    --> crates/chess-lib/src/board.rs:230:42
[INFO] [stdout]     |
[INFO] [stdout] 230 |         self.players.iter_mut().for_each(BoardPlayer::reset);
[INFO] [stdout]     |                                          ^^^^^^^^^^^ use of undeclared type `BoardPlayer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0423, E0425, E0433, E0782.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "e13418c32d851ddde54bbd48474e8aeb95a7338573f5ea233e0f515eedecc164", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e13418c32d851ddde54bbd48474e8aeb95a7338573f5ea233e0f515eedecc164", kill_on_drop: false }`
[INFO] [stdout] e13418c32d851ddde54bbd48474e8aeb95a7338573f5ea233e0f515eedecc164
